package com.whminwei.edu.api.tchbase.client;

import com.whminwei.common.feign.decoder.FullHttpRspnConfig;
import com.whminwei.common.http.rspn.FullHttpResponse;
import com.whminwei.edu.api.tchbase.dto.fspn.CoursePracticeFspn;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author chenpeng
 * @since 2024/10/24
 */
@FeignClient(name = "xzzg-pt-tch-base-service", contextId = "course-practice-info", configuration = FullHttpRspnConfig.class)
public interface CoursePracticeClient {
    /**
     * 查询所有课程实践项目
     * @author chenpeng
     * @since 2024/10/24
     * @return com.whminwei.common.http.rspn.FullHttpResponse<com.whminwei.edu.api.tchbase.dto.fspn.CoursePracticeFspn>
     **/
    @PostMapping("/coursePractice/getCoursePracticeList")
    FullHttpResponse<CoursePracticeFspn> getCoursePracticeList();
}
